<template>
  <div class="logeHead">
    <div class="container">
      <div class="right">
        <a>
          <RouterLink to="/">小兔仙</RouterLink>
        </a>
      </div>
      <!-- 这里做默认插槽，因为登陆后内容会变 -->
      <h2> <slot/></h2>
      <RouterLink to="/" class="left">进入网站首页
        <i style="margin-left:1px" class="iconfont icon-angle-right"></i>
        <i class="iconfont icon-angle-right"></i>
      </RouterLink>
    </div>
  </div>
</template>
<script>
export default {
  name: 'logeHead'
}
</script>
<style lang="less">
.logeHead {
  background-color: #fff;
  padding-bottom: 40px;
  .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    .right {
      width: 200px;
      display: flex;
      align-items: flex-end;
      a {
        display: block;
        width: 200px;
        height: 100px;
        text-indent: -9999px;
        background: url("~@/assets/image/logo.png") no-repeat center 18px /
          contain;
      }
    }
     h2{
        display: flex;
        flex: 1;
        color:#666666;
        font-weight: normal;
        margin-left: 10px;
        margin-bottom: 4px;
      }
    .left{
        font-size: 16px;
        i{
            color:#66cddc;
            font-size: 13px;
            font-weight: 700;
            margin-left: -5px;
        }
    }
  }
}
</style>
